package com.codefish.config;

import com.codefish.util.IdWorker;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Classname IdWorkConfig
 * @Description TODO
 * @Date 2021/4/29 13:11
 * @Created 学兔斯基眯眼看世界
 */
@Configuration
public class IdWorkConfig {

    @Bean
    public IdWorker getIdWork(){
        return new IdWorker(0L,0L);
    }
}
